/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.enterprise.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.springblade.core.mp.base.BaseEntity;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotEmpty;

/**
 * 实体类
 *
 * @author BladeX
 * @since 2021-08-20
 */
@Data
@TableName("esms_policy_apply")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "PolicyApply对象", description = "PolicyApply对象")
public class PolicyApply extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 企业ID
	 */
	@ApiModelProperty(value = "企业ID")
	private String enterprise;
	/**
	 * 政策ID
	 */
	@ApiModelProperty(value = "政策ID")
	private Long policy;
	/**
	 * 银行卡号
	 */
	@ApiModelProperty(value = "银行卡号")
	private String cardNo;
	/**
	 * 银行名称
	 */
	@NotEmpty
	@ApiModelProperty(value = "银行名称")
	private String bank;
	/**
	 * 申请资金
	 */
	@ApiModelProperty(value = "申请资金")
	private Integer money;
	/**
	 * 邮箱
	 */
	@Email
	@ApiModelProperty(value = "邮箱")
	private String email;
	/**
	 * 申请人姓名
	 */
	@ApiModelProperty(value = "申请人姓名")
	private String applicantName;
	/**
	 * 申请人联系方式
	 */
	@ApiModelProperty(value = "申请人联系方式")
	private String applicantPhone;
	/**
	 * 项目主要内容
	 */
	@ApiModelProperty(value = "项目主要内容")
	private String content;
	/**
	 * 材料地址(弃用)
	 */
	@Deprecated
	@ApiModelProperty(value = "材料地址")
	private String file;


}
